﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.IO;

namespace mp.message.req
{
    public class WriteLog
    {
        public static void PrintLog(string str)
        {
            StreamWriter sw = new StreamWriter(HttpContext.Current.Server.MapPath("debug.log"), true);
            sw.WriteLine(str);
            sw.Flush();
            sw.Close();
        }
    }
}
